perm filename MAPPER.PAL[AL,HE]2 blob
sn#349145 filedate 1978-04-14 generic text, type C, neo UTF8
COMMENT ā VALID 00002 PAGES
C REC PAGE DESCRIPTION
C00001 00001
C00002 00002 This file gives the definitions for using the Panofsky map.
C00010 ENDMK
Cā;
; This file gives the definitions for using the Panofsky map.
; Map definitions
;Page tables: 100 words each, one per page
MAPTB0=166000
MAPTB1=166200
MAPTB2=166400
MAPTB3=166600
PGTAB0=MAPTB0
PGTAB1=MAPTB1
PGTAB2=MAPTB2
PGTAB3=MAPTB3
;Page table entries (each one for 2000 bytes)
MAPWRT==100000 ;Page written
MAPACC==040000 ;Page accessed
MAPWOK==020000 ;Write permission
MAPROK==010000 ;Read permission
MAPUBS==004000 ;1 => Unibus address
; 003777 Physical page number
WRT==MAPWOK
REA==MAPROK
UNIBUS==MAPUBS
;Map space table
MAPKI=167020
MAPKD=167030
MAPSI=167022
MAPSD=167032
MAPUI=167026
MAPUD=167036
KERIST=MAPKI
KERDST=MAPKD
SUPIST=MAPSI
SUPDST=MAPSD
USRIST=MAPUI
USRDST=MAPUD
;Map space table entries
; 001400 Page table number
; 000200 Transparent mode ( 1 => no mapping)
; 000176 Max virtual page (*2)
MAPSR0=167000
MST0=MAPSR0
;Status register 0 entries
MAPENB==100000 ;Enable mapping
MAPMPV==040000 ;Max page violation
MAPRPV==020000 ;Read violation
MAPWPV==010000 ;Write violation
; 30 ;PC mode of the violating instruction
; 04 ;Error was in I space
; 03 ;Mode of the violating reference
MAPSR1=167002 ;Virtual address of the bad reference
MAPSR2=167004 ;Virtual PC of 1st word of offending instruction